/************************************************************************************************************


************************************************************************************************************/

var DG_imageIds = 0;

var dgPictureZoom = new DG.PictureZoom();

function getUniqueId() {
	DG_imageIds++;
	return ('dg-picture-zoom-' + DG_imageIds);
}
window.addEvent('domready', function() {
    var images = $$('.dg-picture-zoom');

	var countTa = images.length;
	for(i=0;i<countTa;i++) {

		if(!images[i].id) {
			images[i].id = getUniqueId();
		}
		dgPictureZoom.addPicture(images[i].id);

	}
});

